.search-box{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(100, 100, 130, .5);
    height: 40px;
    border-radius: 40px;
    padding: 10px;
}
.search-box:hover >.search-txt{
    width: 240px;
    padding: 0 6px;
}
.search-btn{
    color: #e84118;
    float: right;
    width: 40px;
    height: 40px;
    border-style: none;
    border-radius: 50%;
    background: rgba(100, 100, 130, .5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-txt{
    border:none;
    background:none ;
    outline: none;
    float: left;
    padding: 0;
    color: white;
    font-size: 16px;
    transition: 0.4s;
    line-height: 40px;
    width: 0px;
}
#output{
    position: absolute;
    align-items: center;
    top:50%;
}